FROM sebp/elk

MAINTAINER xy9860 xy9860@qq.com

WORKDIR ${LOGSTASH_HOME}
RUN gosu logstash bin/logstash-plugin install logstash-codec-json_lines&echo "cluster.max_shards_per_node: 50000" >> /etc/elasticsearch/elasticsearch.yml

#修改输出文件
ADD 30-output.conf /etc/logstash/conf.d/30-output.conf
#修改输入文件
ADD 01-springboot-input.conf /etc/logstash/conf.d/01-springboot-input.conf
